package cn.iocoder.yudao.module.train.controller.admin.teaching.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 授课管理分页 Request VO")
@Data
public class TeachingPageReqVO extends PageParam {

    @Schema(description = "商品课程名称", example = "王五")
    private String commodityName;

    @Schema(description = "课程组名称", example = "张三")
    private String groupName;

    @Schema(description = "老师名称", example = "芋艿")
    private String teacherName;

    @Schema(description = "报名学生人数")
    private Long studentQuantity;

    @Schema(description = "剩余课时")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Integer[] remainderCourseTime;

    @Schema(description = "课程总课时")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Integer[] allCourseTime;

    @Schema(description = "课程状态", example = "1")
    private String commodityStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}